home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980901-19981211 / 000003_news@newsmaster….columbia.edu _Tue Sep 1 20:07:48 1998.msg < prev    next >
Internet Message Format  |  1998-12-10  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id UAA10317
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 1 Sep 1998 20:07:48 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id UAA04278
  7.     for kermit.misc@watsun; Tue, 1 Sep 1998 20:07:48 -0400 (EDT)
  8. Path: news.columbia.edu!panix!howland.erols.net!news-peer.sprintlink.net!news-backup-east.sprintlink.net!news.sprintlink.net!204.122.16.44!news.eskimo.com!pygmy
  9. From: pygmy@eskimo.com (Frank Sergeant)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: K95 telnet to dosemu under Linux
  12. Date: Tue, 01 Sep 1998 16:09:40 -0500
  13. Organization: Eskimo North (206) For-Ever
  14. Lines: 68
  15. Message-ID: <UKG71Yv1uAiI084yn@eskimo.com>
  16. References: <PHK01Yv1uIJW084yn@eskimo.com>
  17. Reply-To: frank.sergeant@pobox.com
  18. NNTP-Posting-Host: eskimo.com
  19. Originator: pygmy@eskimo.com
  20. Xref: news.columbia.edu comp.protocols.kermit.misc:9161
  21.  
  22. Things continue to look up.  I modified the dos emulator
  23. and now Kermit 95 works without having to reset the code
  24. page manually after the dosemulator starts.
  25.  
  26. ebiederm@inetnebr.com (Eric W. Biederman) wrote:
  27.  
  28. > What it comes down to is:
  29. > 1) IBM character set issues, are a pain with slang. 
  30. >    We have a hack for the linux terminal but that is all.
  31. >    Frank you've reversed engineered it beautifully.
  32. >    Look in src/env/video/terminal.c line 69 if you want to see where 
  33. >    the ESC ( U is.  Remember \033 is octal for the escape character.
  34.  
  35.      Thank you!  That was just the information I needed.  I found
  36. the code at line 161 in src/env/video/terminal.c (for version 0.97.10).
  37. I commented out the original line and replaced it with the following
  38. line, as
  39.  
  40.    //if (Use_IBM_Codes) SLtt_write_string ("\033(U\033(U\r        \r");
  41.      if (Use_IBM_Codes) SLtt_write_string ("\033(B\033-U\r        \r");
  42.  
  43. So, thanks to you and the Kermit support team, I can use Kermit95
  44. on a W95 machine to telnet to the Linux box, both ends have the
  45. terminal set to 'linux', and have my Clipper app look pretty good,
  46. including legible text plus box drawing characters, without needing
  47. to escape to Kermit to reset the character set.  (In other words,
  48. dosemu has now stopped resetting the character set or code page
  49. or whatever.)  (The key information from Kermit support was that
  50. apparently dosemu was sending 'ESC ( U ESC ( U' instead of
  51. 'ESC ( B ESC - U'.)
  52.  
  53. I can now use any of the following three telnet clients and run
  54. the Clipper app: Linux, Kermit95, MSKermit (i.e. Kermit under DOS
  55. over a packet driver on Ethernet, where Kermit supplies the TCP/IP).
  56. Each still has a few little problems I haven't fully resolved, but
  57. it probably runs "good enough" at this stage.  I have a CLIPPER.KSC
  58. file for K95 and for MSKermit that helps get the terminal keys
  59. sending what the Clipper app expects.  I plan to post those files
  60. eventually.  If anyone needs them sooner, just email me.
  61.  
  62. > 4) I'm going to be moving in about a month so my
  63. > free time is a little short right now.
  64.  
  65.      I understand completely and am pleased you could point me
  66. in the right direction.
  67.  
  68. > It would be a real help however is people started fixing their termcaps,
  69. > or terminfo databases to include the pc capabilities, and sending them to 
  70. > Eric Raymond.  So your terminals will work.
  71.  
  72.      I'm interested in this, but don't quite understand.  If
  73. Eric or Eric or anyone else could explain it a little more,
  74. I would appreciate it.  Do you mean to _invent_ new capability
  75. strings that will then be used by dosemu (for, for example,
  76. the Ctrl-PgDn key), or that the capability strings already exist
  77. but just aren't listed in the 'linux' terminfo source, or ...?
  78. I mention Ctrl-PgDn because it and Ctrl-PgUp are the only keys
  79. that don't seem to work for me when using Linux to telnet to
  80. the Linux box running dosemu.  So, a general explanation would
  81. be useful as would any specific suggestion on how to "turn on"
  82. the Ctrl-PgDn and Ctrl-PgUp keys.  (I do have Ctrl-PgDn and
  83. Ctrl-PgUp working when telnetting from K95 or MSKermit.)
  84.  
  85.  
  86.   -- Frank
  87.   frank.sergeant@pobox.com
  88.